package com.seemsea.entity.admin;

import java.io.Serializable;

/**
 * @author wangzl
 * @since 2009-3-10
 */
public class Page implements Serializable {

	private static final long serialVersionUID = -3811397730125324186L;
	private int count = 0; 
    private int pageSize = 8; 
    private int pageCount = 0;
    private int page = 1; 
    private int paging = 1;
    private int currentSize = 0;
    
	public int getCurrentSize() {
		return currentSize;
	}
	public void setCurrentSize(int currentSize) {
		this.currentSize = currentSize;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		if(pageSize >= 0){
			this.pageSize = pageSize;
		}
	}
	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		if(page > 0){
			this.page = page;
		}
	}
	public int getPaging() {
		return paging;
	}
	public void setPaging(int paging) {
		this.paging = paging;
	}
}
